home *** CD-ROM | disk | FTP | other *** search
/ SGI Enlighten DSM 1.1 / SGI EnlightenDSM 1.1.iso / sco5x / admin / help / C / online0504.hlp < prev    next >
Text File  |  1998-06-30  |  13KB  |  370 lines

  1.     Modify User 
  2.  
  3.     This window is used to modify a user accounts. 
  4.     This window contains the following fields:
  5.  
  6.     Hostnames
  7.  
  8.     If you want to limit the creation of this account to specific
  9.     hostnames within a pool, enter those hostnames in this field. If you
  10.     are using multiple entries, leave a blank between each entry. You
  11.     can also use the arrow button to the right to select the available
  12.     hosts from the current pool.
  13.  
  14.     Login name
  15.  
  16.     The Login name is a unique name which identifies a user account. A
  17.     user needs a login and a password to gain access to the system. The
  18.     login name must be unique and the first character should be set in
  19.     lower case (e.g., cHE034). You may also use macros in this field.
  20.     See "User Account Macros" below for more details.
  21.  
  22.     Real name
  23.  
  24.     This is the user's actual name. This field can identify a person,
  25.     company, or organization. You can use this field to associate the
  26.     sometimes cryptic Login name with the actual user's name. On larger
  27.     systems, this name matching is invaluable.
  28.  
  29.     Office
  30.  
  31.     This field should contain the location where the user will normally
  32.     access the system. The field can be an office number, an assigned
  33.     location code or a department name. This field does not allow
  34.     punctuation characters.
  35.  
  36.     Telephone
  37.  
  38.     This field can contain the telephone number, telephone extension, or
  39.     some other information to help locate and contact the user. The
  40.     format of the field is user definable.
  41.  
  42.     At this point you can have Enlighten automatically fill in the
  43.     remainder of the form by clicking on the Add button. The default
  44.     values entered depend on the values set in Configure --> New User
  45.     Templates window.
  46.  
  47.     Otherwise, you should fill-in the rest of the fields yourself. The
  48.     fields and their defaults are:
  49.  
  50.     User ID
  51.  
  52.     This field contains the UID number. The UNIX operating system uses
  53.     this number to identify each user. This number does not have to be
  54.     unique, but should be for easier system administration. Enter the
  55.     UserID number to be assigned to this user account.
  56.  
  57.     If the New User Template you're using is set to automatically
  58.     generate a unique UID, then this field will be initialized with that
  59.     number. 
  60.  
  61.     Note: If this field is left blank, Enlighten will prompt you for an
  62.     entry in this field when it tries to create the user.
  63.  
  64.     Home dir.
  65.  
  66.     The Home dir. field specifies where the user's start-up directory is
  67.     attached. Most systems will use /usr or /home as the default parent
  68.     directory. Each user will have their own directory created under the
  69.     default home directory, e.g. /usr/charlie. Enlighten stores /usr as
  70.     the default HOME directory unless you change this field.
  71.  
  72.     If you specify a HOME directory which does not exists, Enlighten
  73.     creates and initializes it. Enlighten initializes the HOME directory
  74.     by executing the HOME directory initialization script
  75.     $ENLIGHTEN/scripts/user.rc. This copies the initialization files
  76.     (e.g., .profile and .cshrc) into the HOME directory. You can modify
  77.     this script to perform other initialization procedures.
  78.  
  79.     You may also use macros in this field. See "User Account Macros" below
  80.     for more details.
  81.  
  82.     Shell
  83.  
  84.     The Shell is a program that acts as a translator between the user
  85.     and the UNIX operating system. There may be several standard shells
  86.     on a system, including the C Shell, the Bourne Shell, the Korn Shell
  87.     and the restricted Bourne, C and Korn Shells. This, however, does
  88.     not stop experienced users from creating custom shells. Each shell
  89.     has its own start-up executable program as shown on the following
  90.     page.
  91.  
  92.         Bourne Shell /bin/sh
  93.  
  94.         Restricted Bourne Shell /bin/rsh
  95.  
  96.         C Shell /bin/csh
  97.  
  98.         Korn Shell /bin/ksh
  99.  
  100.         Restricted Korn Shell /bin/rksh
  101.  
  102.         Other user defined
  103.  
  104.     Enlighten uses the Bourne shell as the default shell in this field
  105.     (/bin/sh). All users on the system do not have to use the same
  106.     shell; this is a matter of user preference, as each shell offers
  107.     different functionality. The number of standard shells available for
  108.     this field depends on your system. Click on the arrow button to
  109.     display a pick list of available shells.
  110.  
  111.     Group name
  112.  
  113.     Every user account must be assigned to at least one User Group. The
  114.     User Group is part of the UNIX security system; each user group has
  115.     specific read, write, and execute privileges associated with every
  116.     file created on the system.
  117.  
  118.     Enter the primary Group name for this user or leave this field blank
  119.     to have the default assigned. Click on the arrow button for a pick
  120.     list of defined User Groups. If you enter a Group Name which does
  121.     not exist, Enlighten will prompt for a correct Group Name when it
  122.     tries to create the user.
  123.  
  124.     Add Groups
  125.  
  126.     You can use this field to put the user in additional user groups.
  127.     This will effectively give the user more group privileges beyond
  128.     those set in the primary user group. Enter the names of the user
  129.     groups to which the user should also belong. Click on the arrow
  130.     button for a pick list of defined User Groups. Select the User
  131.     Groups and click on the Apply button to import them.
  132.  
  133.     Password
  134.  
  135.     The password is part of the UNIX security system. Each user must
  136.     have a password. If you make the password the same as the user
  137.     login, the user can then reset the password to one of his or her own
  138.     choice. Don't use passwords such as spouse names, pet names, or
  139.     addresses, they are easy for another user to guess. You may also use
  140.     macros in this field. See "User Account Macros" below for more
  141.     details.
  142.  
  143.     Note: If the entry in the password field is not long enough, an
  144.     error message will be displayed when you try to add this user
  145.     account.
  146.  
  147.     Expires
  148.  
  149.     For systems that support password aging, this optional field
  150.     contains the time when the password will expire. Once a password has
  151.     expired, the system will force the user to change their password the
  152.     next time they login to the system.
  153.  
  154.     If this field is left blank, the appropriate default parameter will
  155.     be used. If no default is set in the User Add window (when you're
  156.     adding a user), password aging will be turned off for that user.
  157.  
  158.     To specify a time format, see "TIME FORMATS" below.
  159.  
  160.     Span
  161.  
  162.     In conjunction with the Expires field, this field defines the
  163.     minimum period of time which needs to elapse before the user can
  164.     change his or her password. You can, however, change the user's
  165.     password at any time by using the Password button in the User
  166.     Configuration window.
  167.     To specify a time format, see "TIME FORMATS" below. 
  168.  
  169.     Last Login
  170.  
  171.     This field specifies the date and time the user last logged on.
  172.  
  173.     Pwd change
  174.  
  175.     This field specifies when the user last changed passwords.
  176.  
  177.  
  178.     Buttons
  179.  
  180.     This window contains the following buttons.
  181.  
  182.     Modify
  183.  
  184.     Once you've entered the relevant information, click on the Modify
  185.     button to modify the user. If the information is incorrect use the
  186.     mouse to navigate through the fields and make the necessary changes.
  187.     When complete, click on the modify button again.
  188.  
  189.     Next
  190.  
  191.     You can use the Next button to modify additional user accounts if
  192.     you've selected more than one account to modify from the User
  193.     Configuration list.
  194.  
  195.     Clear Fields
  196.  
  197.     Click on this button to clear the existing choices in all fields.
  198.  
  199.     Close
  200.  
  201.     Click on this button to discard any changes and close the window.
  202.  
  203.  
  204.     USER ACCOUNT MACROS
  205.  
  206.     You can use macros to help initialize the form fields when you
  207.     create a User Account. You can enter these macros manually. Or you
  208.     can have them fill (some of) the form fields automatically by first
  209.     defining them in a New User Template and using that template when
  210.     you create the user account.
  211.  
  212.     The following types of fields accept macros in these two windows:
  213.  
  214.     + Login Name
  215.     + Home dir.
  216.     + Password
  217.     + Mail Alias
  218.  
  219.     For working examples, see "Macro Name" on page J-3.
  220.  
  221.     Format
  222.  
  223.     A macro has the following format:
  224.  
  225.         %<Modifiers><Macro Name>
  226.  
  227.     Modifiers
  228.  
  229.     <Modifiers> are optional (you can define them multiple times). You
  230.     can use the <Modifiers> to specify only specific parts of the field,
  231.     such as the first letter of the field, or to manipulate and convert
  232.     the given input.
  233.  
  234.     A modifier has the following format:
  235.  
  236.  
  237.     [<Converter><Range>]
  238.  
  239.     where <Converter> is one or more of the following characters:
  240.  
  241.         l - Convert the resulting string to lower case
  242.         L - Same as `l'
  243.         u - Convert the resulting string to upper case
  244.         U - Same as `u'
  245.         s - Do not include SPACEs
  246.         S - Same as `s'
  247.         _ - Replace SPACEs with underscores (_)
  248.  
  249.     and the <Range> applies to the complete string in the field (by
  250.     default). Or you can apply a range to a specific word in the input
  251.     string.
  252.  
  253.     Consequently, a <Range> has the following format:
  254.  
  255.         $<word number><Character Range>
  256.  
  257.     where <word number> shows the word's sequence in the string (this is
  258.     optional). The first word would be addressed as $1, the second word
  259.     as $2, and so on. You can also use $0 to address the first word.
  260.  
  261.     <Character Range> is a comma separated list of character ranges in
  262.     the form. If you specify a <word number>, you must first use a comma
  263.     (`,') in the range list.
  264.  
  265.     The character range itself has the following format:
  266.  
  267.         <start char>-<end char>
  268.  
  269.     where <start char> and <end char> are character numbers. You can
  270.     omit one end of the range to signify the "start of string" and "end
  271.     of string" respectively. Ranges which go beyond the end of the
  272.     string are truncated to match the string.
  273.  
  274.     Macro Name
  275.  
  276.     <Macro Name> is one of the following characters:
  277.  
  278.         g - replace with the users' GID
  279.         u - replace with the users' UID
  280.         G - replace with the users' group name
  281.         U - replace with the users' login name (username)
  282.         R - replace with data from the users' Real Name field
  283.         O - replace with date from the users' Office field
  284.         T - replace with date from the users' Telephone field
  285.  
  286.     Examples
  287.  
  288.     These definitions make more sense when they are viewed as examples.
  289.     Assume for the following example, the following data is true:
  290.  
  291.         Real Name: Thomas Kraus
  292.         Login Name: tmk
  293.         UID: 302
  294.  
  295.     You could then define the following macros and see the following
  296.     substitutions.
  297.  
  298.         Field Name   Macro               Value
  299.         -------------------------------------------
  300.         Home Dir     /home/%U           /home/tmk
  301.         Password     %U-%u              tmk-302
  302.         Mail Alias   %[u$1]R_%[u$2]R    THOMAS_KRAUS
  303.         Login Name   %[l$1,1][l$2,-6]   tkraus
  304.  
  305.     Some explanations:
  306.  
  307.     /home/%U Create the directory /home/<login name>
  308.  
  309.     %U-%u Get the User name and add the UID (separated by a dash)
  310.  
  311.     %[u$1]R_%[u$2]R Get the first word of the users' real name and add
  312.     the second word of the user's real name (separated by an
  313.     underscore). Convert both strings to upper case.
  314.  
  315.     %[l$1,1][l$3,-6]R Take the first letter of the users first name and
  316.     the first six letters of the users' last name. Convert both strings
  317.     to lower case.
  318.  
  319.  
  320.     TIME FORMATS
  321.  
  322.     There are several fields throughout the Enlighten product where you
  323.     can specify a date/time format. For each of these fields, you can
  324.     specify the date and/or time period in two ways: absolutely or
  325.     relatively.
  326.  
  327.     The first is as a static period, where the period entered is the
  328.     absolute period used in the search. This is the only way to search
  329.     for a combined date/time format. To look for a file created since
  330.     May 10, 1996 at 12 noon, you could use the entry: May 10 96 at
  331.     12:00.
  332.  
  333.     The second is a relative period, where the period entered is set
  334.     against the current system clock time and then applied during the
  335.     search. This is strictly a time OR date format, e.g., 2 seconds or 1
  336.     month. To find users who have been logged in during the last three
  337.     days, you could use the entry: 3 days.
  338.  
  339.     Either way, the format is case-insensitive. For example, you could
  340.     use JAN, Jan, or jan as the abbreviation for the month of January.
  341.     This appendix shows all the BNF time measurements in initial caps
  342.     (e.g., Jan or January, 2 Sec or 2 Seconds, etc.).
  343.  
  344.     Some typical uses of the static format in a Date search field are:
  345.  
  346.     Absolute: 15 1996 (defaults to the current month)
  347.  
  348.         Jan 1 97
  349.         July 4 (defaults to the current year)
  350.  
  351.     Some additional uses of the absolute format in a Time search field
  352.     are:
  353.  
  354.         June 15 at 3 PM (defaults to the current year)
  355.         June 16 at 2AM (defaults to the current year)
  356.         June 17 96 at 15:31
  357.         18 at 9:31:14 AM (defaults to current month AND year)
  358.  
  359.     Some typical uses of the relative format in a Date search field are:
  360.  
  361.         Relative: 1 second
  362.  
  363.         5 Min
  364.         1 day
  365.         2 weeks
  366.         1 Year
  367.  
  368.     The rest of this appendix defines the time formats you can use
  369.     whenever you fill in a date and/or time field.
  370.